import requests
url="https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1543774641328&di=d33cde2644eb82ae12120ddb7df7fa19&imgtype=jpg&src=http%3A%2F%2Fimg3.imgtn.bdimg.com%2Fit%2Fu%3D736784453%2C3664687473%26fm%3D214%26gp%3D0.jpg"
content=requests.get(url).content
with open("a.jpg","wb") as file:
    file.write(content)
print(content)